home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 112 / EnigmaAmiga112CD.iso / dalla rivista / awnpipe / awnp / awnp-docs / browsernode.doc < prev    next >
Text File  |  2000-05-14  |  2KB  |  57 lines

  1. BrowserNode gadget parameters.
  2. -------------------------
  3.  
  4.  Browsernodes always belong to last defined listbrowser. NEVER use the BrowserNode keyword after you GUI window has opened. Use the AddNode modify command instead.
  5.  
  6. selected=number (s=)
  7.  
  8.   The node is selected if number != 0 , unselected if number = 0. Defaults to unselected.
  9.  
  10.  
  11.   Set which choice is selected when the window opens. This is only for multiple select list browsers. Set selected in the Listbrowser definition for single select lists.
  12.  
  13. GadgetText="[^|¶]text0|[^|¶]text1|[^|¶]text..." (gt=)
  14.  
  15.  Set the text(s). This parameter MUST be given. YOU MUST NOT GIVE MORE TEXTS THAN THE AMOUNT OF COLUMNS IN THE LISTBROWSER. A leading '^' makes the text editable. A leading '¶' (ALT p) uses the last defined image for the column rather than text. Note that images used in browsernodes can not be more than 255 pixels high. (hint: split larger images and use more than one node)
  16.  
  17. NOTE: the following parameters may only be used if the ListBrowser containing the node allows parenting.
  18.  
  19. defnumber=number  (defn=)
  20.  
  21.  Set the Generation of this browser node.
  22.  
  23. browsernodeparent  (bnp)
  24.  
  25.  This browser node has children.
  26.  
  27. Definition Reply
  28. -----------------
  29.  
  30.  When the node creation is successful the pipe replies with
  31.  
  32. 'ok GID'
  33.  
  34. BrowserNode gadget modify parameters.
  35. -------------------------------------
  36.  
  37. GadgetText="[^|¶]text0|[^|¶]text1|[^|¶]text..." (gt=)
  38.  
  39.  Set the text(s). YOU MUST NOT GIVE MORE TEXTS THAN THE AMOUNT OF COLUMNS IN THE LISTBROWSER. A leading '^' makes the text editable. A leading '¶' (ALT p) uses the last defined image for the column rather than text. Note that images used in browsernodes can not be more than 255 pixels high. (hint: split larger images and use more than one node)
  40.  
  41. removenode (remn)
  42.  
  43.  remove this browsernode from its ListBrowser
  44.  
  45. selected=number (s=)
  46.  
  47.   The node is selected if number != 0 , unselected if number = 0. This is only for nodes in multi select listbrowsers, for single select browsers see the listbrowser modify docs.
  48.  
  49. read
  50. sort=COLUMN#
  51.  
  52.  To read a browser node you must also specify a column. The text contents of
  53. that column are returned.
  54.  
  55. refresh (ref)
  56.  
  57.  Refresh this listnodes listbrowser (not just the node itself). When setting multiple nodes in a multiselect listbrowser only refresh when you set the last node. This avoids multiple refreshes.